<!--快速登录-->
<div class="alL"  style="width:370px;">
<div class="tab-menu"><!-- 切换标签 begin  -->
  <ul>
    <li><a href="javascript:;" class="on" id="sildetab_login" onclick="changetab('sildetab_','sildetab_login')"><span>登录</span></a></li>
    <li><a href="javascript:;" class="" id="sildetab_register" onclick="changetab('sildetab_','sildetab_register')"><span>注册</span></a></li>
  </ul>
</div>
<div class="reg_box" id="sildetab_login_c" style="display:block;">
  <p class="cGray2 lh30 pl10">登录{$ts['site']['site_name']}</p>
  <form action="#" method="post" id="quickloginform" name="reg">
    <php>if(!empty($invite)) {</php>
    <input type="hidden" name="validationid" value="{$invite['validationid']}">
    <input type="hidden" name="validationcode" value="{$invite['code']}">
    <php>}</php>
    <ul class="form_list">
      <li class="form_li">
        <div class="left alR" style="width:85px;">Email：</div>
        <div class="left" style="width:160px;">
          <input type="text" class="text" id="quickloginemail" style="width:150px;" value="" name="email" require="true" />
        </div>
        <div class="left">
          <div style="display:none;" id="quickloginemailok"> <span class="ico_cue_ok"></span></div>
          <div style="display:none;" id="quickloginemailerr"> <span class="ico_cue_no"></span> 邮箱账户错误</div>
        </div>
      </li>
      <li class="form_li">
        <div class="left alR" style="width:85px;">登录密码：</div>
        <div class="left" style="width:160px;">
          <input type="password" class="text" id="quickloginpassword" style="width:150px;" name="password" />
        </div>
        <div class="left">
          <div style="display:none;"> <span class="ico_cue_ok"></span></div>
          <div style="display:none;" id="quickloginpassworderr"> <span class="ico_cue_no"></span> 没有输入密码</div>
        </div>
      </li>
		<php>
		$verify_allow = unserialize($site_opts["verify"]);
		$login_verify_allow = $verify_allow['login'];
		</php>
	  <li class="form_li"<neq name="register_verify_on" value="1"> style="display:none;"</neq>>
		<div class="left alR" style="width:85px;">验证码：</div>
		<div class="left" style="width:160px;">
		  <input name="verify" type="text" class="text alM" title="验证码" id="verify" style="width:50px;" value="" />
			  &nbsp;<a href="javascript:void(0);" onclick="changeverify()"><img src="{:U('home/Public/verify')}" id="verifyimg" alt="换一张" class="alM" /></a>
		</div>
		<div class="left">
		  <div style="display:none;" id="quickloginemailok"> <span class="ico_cue_ok"></span></div>
		  <div style="display:none;" id="quickloginemailerr"> <span class="ico_cue_no"></span> 验证码错误</div>
		</div>
	  </li>
		
      <li class="form_li">
        <div class="left alR" style="width:85px;">&nbsp;</div>
        <div class="left" style="width:160px;" id="quik_login_btn"> <a href="javascript:;" class="btn_w" onclick="ui.login();"><strong>登录</strong></a></div>
      </li>
    </ul>
  </form>
  <div class="c"></div>
  <div class="lineS_top lh30 alC ml10 mr10">没有账号？<a href="javascript:;"  onclick="changetab('sildetab_','sildetab_register');">快速注册{$ts['site']['site_name']}</a></div>
</div>
<div class="reg_box"  id="sildetab_register_c" style="display:none;">
  <p class="cGray2 lh30 pl10">还不是这里的用户？没关系注册一个呗！！！</p>
  <form action="{:U('home/Publicnew/doRegister')}" method="post" id="quickregiseterform" name="reg">
    <php>if(!empty($invite)) {</php>
    <input type="hidden" name="validationid" value="{$invite['validationid']}">
    <input type="hidden" name="validationcode" value="{$invite['code']}">
    <php>}</php>
    <ul class="form_list">
      <li class="form_li">
        <div class="left alR" style="width:85px;">Email：</div>
        <div class="left" style="width:160px;">
          <input type="text" class="text" style="width:150px;" value="" id="quickregisteremail" name="email" require="true"  msg="重要！请填有效邮箱地址，以收邮件完成注册|邮箱已被占用!"/>
        </div>
        <div class="left">
          <div id="success_email" style="display:none;"> <span class="ico_cue_ok"></span> </div>
          <div class="error_email" style="position: relative;display:none;"> <span class="ico_cue_no"></span><span id="error_email"></span> </div>
        </div>
      </li>
      <li class="form_li">
        <div class="left alR" style="width:85px;">登录密码：</div>
        <div class="left" style="width:160px;">
          <input type="password" class="text" style="width:150px;" name="password" id="password" require="true" value="" datatype="limit"  min="6" max="16" msg="密码由6-16个英文字母、数字或特殊字符组成"/>
        </div>
        <div class="cr">
          <div id="success_password"  style="display:none;"> <span class="ico_cue_ok"></span> </div>
          <div class="error_password" style="position: relative;display:none;"> <span class="ico_cue_no"></span> <span id="error_password"></span> </div>
        </div>
      </li>
      <li class="form_li">
        <div class="left alR" style="width:85px;">确认密码：</div>
        <div class="left" style="width:160px;">
          <input type="password" class="text" style="width:150px;" name="repassword" require="true" value="" datatype="repeat|limit"  min="6" max="16" to="password" msg="两次输入的密码不一样，请重输！|密码由6-16个英文字母、数字或特殊字符组成"/>
        </div>
        <div class="cr">
          <div id="success_repassword"  style="display:none;"> <span class="ico_cue_ok"></span> </div>
          <div class="r error_repassword" style="position: relative;display:none;"> <span class="ico_cue_no"></span> <span id="error_repassword"></span> </div>
        </div>
      </li>
         <li class="form_li">
          <div class="left alR" style="width:85px;">验证码：</div>
          <div class="left" style="width:160px;">
            <input type="text" class="text"  style="width: 60px; margin-right:5px; float:left;" name="verify" require="true" datatype="require|ajax" url="__URL__/checkVerify" msg="验证码不能为空|验证码输入有误，请重输！"/>
            <div class="left"> <img src="__URL__&act=verify" id="verifyimg"/><a href="javascript:void(0);" onclick="changeverify()"><br />
              看不清 换一张</a> </div>
          </div>
          <div class="left">
            <div id="success_verify"  style="display:none;"> <span class="ico_cue_ok"></span>  </div>
            <div class="r error_verify" style="position: relative;display:none;">
              <span class="ico_cue_no"></span> 
                  <p id="error_verify"></p>
                 </div>
            </div>
        </li>
      <li class="form_li">
        <div class="left alR" style="width:85px;">&nbsp;</div>
        <div class="left" style="width:160px;"> <a href="javascript:;" onclick="ui.register();" class="btn_reg"><strong>注册账号</strong></a>  <div class="c"></div>
</div>
      </li>
    </ul>
  </form>  <div class="lineS_top lh30 alC ml10 mr10">已有账号？<a href="javascript:;"  onclick="changetab('sildetab_','sildetab_login');">快速登录{$ts['site']['site_name']}</a></div>
</div>
</div>
